<div dojoType="dijit.Toolbar" layoutAlign="top">
<!-- Simple helper for creating all the links for a navigation bar. -->
<% output = "" %>
<% if options
  links = Hash.new()
  options.each_key { |key|
    if (options[key][:url])
      output << " #{options[key][:url]} "
    else
      output << link_to_remote(key.to_s, :update => options[key][:update], :url => {:action => options[key][:action], :params => {:div_id => options[key][:div_id]}}) + " "
    end
  }
end
%>
<%= output %>
</div>
